const showToast = function(title = '') {
    uni.showToast({
        title,
        icon: 'none'
    }).then(r => {})
}

const showLoading = function(title = '') {
    uni.showLoading({
        title,
        mask: true
    }).then(r => {})
}

const hideLoading = function() {
    uni.hideLoading();
}

export default  {
    showToast,
    showLoading,
    hideLoading,
}